package com.property.management.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.property.common.annotation.Excel;
import com.property.common.core.domain.BaseEntity;

/**
 * 缴费信息对象 pay_info
 * 
 * @author property
 * @date 2021-05-06
 */
public class PayInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 支付号码 */
    @Excel(name = "支付号码")
    private String payId;

    /** 账单所属业主 */
    @Excel(name = "账单所属业主")
    private Integer payResidentId;

    /** 费用名称 */
    @Excel(name = "费用名称")
    private String payFeeName;

    /** 费用价格 */
    @Excel(name = "费用价格")
    private BigDecimal payFeePrice;

    /** 支付日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "支付日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date payDate;

    /** 欠费金额 */
    @Excel(name = "欠费金额")
    private BigDecimal payArrears;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private String payStatus;

    /** 费用类型 */
    @Excel(name = "费用类型")
    private String patyType;

    /** 费用所属小区 */
    private Integer payCourtId;

    /** 删除标志 */
    private Integer isDel;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPayId(String payId) 
    {
        this.payId = payId;
    }

    public String getPayId() 
    {
        return payId;
    }
    public void setPayResidentId(Integer payResidentId) 
    {
        this.payResidentId = payResidentId;
    }

    public Integer getPayResidentId() 
    {
        return payResidentId;
    }
    public void setPayFeeName(String payFeeName) 
    {
        this.payFeeName = payFeeName;
    }

    public String getPayFeeName() 
    {
        return payFeeName;
    }
    public void setPayFeePrice(BigDecimal payFeePrice) 
    {
        this.payFeePrice = payFeePrice;
    }

    public BigDecimal getPayFeePrice() 
    {
        return payFeePrice;
    }
    public void setPayDate(Date payDate) 
    {
        this.payDate = payDate;
    }

    public Date getPayDate() 
    {
        return payDate;
    }
    public void setPayArrears(BigDecimal payArrears) 
    {
        this.payArrears = payArrears;
    }

    public BigDecimal getPayArrears() 
    {
        return payArrears;
    }
    public void setPayStatus(String payStatus) 
    {
        this.payStatus = payStatus;
    }

    public String getPayStatus() 
    {
        return payStatus;
    }
    public void setPatyType(String patyType) 
    {
        this.patyType = patyType;
    }

    public String getPatyType() 
    {
        return patyType;
    }
    public void setPayCourtId(Integer payCourtId) 
    {
        this.payCourtId = payCourtId;
    }

    public Integer getPayCourtId() 
    {
        return payCourtId;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("payId", getPayId())
            .append("payResidentId", getPayResidentId())
            .append("payFeeName", getPayFeeName())
            .append("payFeePrice", getPayFeePrice())
            .append("payDate", getPayDate())
            .append("payArrears", getPayArrears())
            .append("payStatus", getPayStatus())
            .append("patyType", getPatyType())
            .append("payCourtId", getPayCourtId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .toString();
    }
}
